package vip.zhenzicheng.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author zhenzicheng
 * @date 2023-02-23 18:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
  private static final long serialVersionUID = 1936479468575804455L;
  
  private String name;
  private String address;
  private Integer age;
  private LocalDateTime birthday;

  public User(String name) {
    this.name = name;
  }
}
